﻿#region

using SqlSugar;

#endregion

namespace Vin.Extension.SqlSugar.Repository;

public interface IVinBaseRepository<TEntity> : ISimpleClient<TEntity> where TEntity : class, new()
{
    /// <summary>
    /// 生成Id
    /// </summary>
    public long GetNextId()
    {
        return SnowFlakeSingle.Instance.NextId();
    }
}